<template>
  <div class="grandson">
    <h1>grandson</h1>
    <h2>$parent.$parent.title:{{ title }}</h2>
    <button @click="handle">获取$parent.$parent.title</button>
    <button @click="title = 'hello from grandson'">
      改变$parent.$parent.title
    </button>
  </div>
</template>

<script>
export default {
  inject: ["title", "handle"]
};
</script>
